package com.yzj.android.dao;

import com.yzj.Bean.Cake;

import java.util.List;

public interface CakeDao {

    //基本的增删改查
    int addCake(Cake cake);

    int deleteCakeById(Integer id);

    int updateCake(Cake cake);

    Cake queryCakeById(Integer id);

    List<Cake> queryCakes();


    List<Cake> queryCake(String name);



    //复杂查询操作 根据名字 查询




}
